package com.automobile.dao;

import java.io.Serializable;

import org.apache.ibatis.annotations.Insert;

import com.automobile.domain.MakeApp;

public interface MakeAppDao  {
	
	@Insert("insert into make(licensePlateNumber" +
                            ",carID" +
                            ",theRegistrationTimeFrom" +
                            ",theRegistrationTimeTo" +
                            ",brand,km" +
                            ",type" +
                            ",makeDate" +
                            ",makeTime" +
                            ",phone" +
                            ",name" +
                            ",identityCard" +
                            ",address" +
                            ",content) " +
                        "values(#{licensePlateNumber}" +
                            ",#{carID}" +
                            ",#{theRegistrationTimeFrom}" +
                            ",#{theRegistrationTimeTo}" +
                            ",#{brand}" +
                            ",#{km}" +
                            ",#{type}" +
                            ",#{makeDate}" +
                            ",#{makeTime}" +
                            ",#{phone}" +
                            ",#{name}" +
                            ",#{identityCard}" +
                            ",#{address}" +
                            ",#{content}" +
                            ")"
    )
	void save(MakeApp makeApp);
	
}
